package jupiter.filters;

import jupiter.channel.*;
import jupiter.message.Message;

import org.json.*;

public class DomainFilter {
	public JSONObject map(Message message) throws FilterException{
		Domain d = Global.getDomain(message.to());

		try{
			return d.map();
		}catch(JSONException e){
			return null;
		}
		
	}
}
